//
//  UserModel.h
//  DingDing
//
//  Created by LHL on 14/11/24.
//  Copyright (c) 2014年 com.gordon. All rights reserved.
//

#import "Bee_StreamViewModel.h"
#import "dingding.h"
#import "Common.h"
@interface UserModel : BeeStreamViewModel

@end

@interface photoModel : NSObject
@property(nonatomic,assign)NSInteger photocount;
@property(nonatomic,strong)NSString *faceName;
@property(nonatomic,strong)NSMutableArray *photos;
@property(nonatomic,strong)NSMutableArray *details;
@end

/**
 *  手机登录
 */
@interface phoneLogin : BeeStreamViewModel
@property(nonatomic,strong)NSString * phone;
@property(nonatomic,strong)NSString * password;
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * message;

@end
/**
 *  手机注册
 */
@interface phoneRegister : BeeStreamViewModel
@property(nonatomic,strong)NSString * phone;
@property(nonatomic,strong)NSString * password;
@property(nonatomic,strong)NSString * verifyCode;
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * message;
@end
/**
 *  上传宠物头像,POST
 */
@interface addPetHead : BeeStreamViewModel
@property(nonatomic,strong)NSString * user_id;
@property(nonatomic,strong)UIImage * file1;
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * message;
@property(nonatomic,strong)NSString * pet_id;
@end

/**
 *  发送验证码
 */
@interface sendMessageCode : BeeStreamViewModel
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * message;
@property(nonatomic,strong)NSString * phone;
@end

/**
 *  添加宠物
 */
@interface addPets : BeeStreamViewModel
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * message;
@property(nonatomic,strong)NSString * pet_id;
@property(nonatomic,strong)NSString * user_id;
@property(nonatomic,strong)NSString * token;
@property(nonatomic,strong)NSString * petname;
@property(nonatomic,strong)NSString * gender; //1公，0母
@property(nonatomic,strong)NSString * age;
@property(nonatomic,strong)NSString * variety;
@property(nonatomic,strong)NSString * lng;
@property(nonatomic,strong)NSString * lat;
@property(nonatomic,strong)NSString * signature;
@property(nonatomic,strong)NSString * address;
@end

/**
 *  获取品种详情
 */
@interface getPetList : BeeStreamViewModel
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * message;
@property(nonatomic,strong)PETLIST *petlist;
@end


/**
 *  获取附近用户
 */
@interface getNearbyUser : BeeStreamViewModel
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * message;
@property(nonatomic,strong)NSMutableArray *data;
@property(nonatomic,assign)NSInteger page;
@end


/**
 *  获取用户信息
 */

@interface getUserInfo : BeeStreamViewModel
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * message;
@property(nonatomic,strong)NSString * fid;
@property(nonatomic,strong)SHAREMAINMODEL *data;
@end


/**
 *  一键登录
 */

@interface oneKeyLogin : BeeStreamViewModel
@property(nonatomic,strong)NSString * vendor;
@property(nonatomic,strong)NSString * access_token;
@property(nonatomic,strong)NSString * openid;
@property(nonatomic,strong)NSString * nickname;
@property(nonatomic,strong)NSString * format;
@property(nonatomic,strong)NSString * timestamp;
@property(nonatomic,strong)NSString * expires_in;
@property(nonatomic,strong)NSString * device_type;
@property(nonatomic,strong)NSString * device_id;
@property(nonatomic,strong)NSString * baidu_id;
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * msg;
@property(nonatomic,strong)THIRDLOGINUSERMODEL *thirdData;
@end

/**
 *  获取种类信息
 */

@interface getPetInfoByID : BeeStreamViewModel
@property(nonatomic,strong)NSString * p_id;
@property(nonatomic,strong)NSString * name;
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * msg;

@end

/**
 *  更新宠物信息
 */
@interface updatePetInfo : BeeStreamViewModel
@property (nonatomic, strong) NSString *			address;
@property (nonatomic, strong) NSString *			age;
@property (nonatomic, strong) NSString *			gender; //1公，0母
@property (nonatomic, strong) NSString *			lat;
@property (nonatomic, strong) NSString *			lng;
@property (nonatomic, strong) NSString *			pet_id;
@property (nonatomic, strong) NSString *			petname;
@property (nonatomic, strong) NSString *			signature;
@property (nonatomic, strong) NSString *			variety;
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * msg;
@end

/**
 *  发布动态
 */

@interface postdynamics : BeeStreamViewModel
@property (nonatomic, strong) NSString *			text;
@property (nonatomic, strong) NSString *			post_to_userid;
@property (nonatomic, strong) NSString *			face;
@property (nonatomic, strong) NSMutableArray *			imgData;
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * msg;
@end

/**
 *  检查用户是否存在
 */

@interface checkUserExist : BeeStreamViewModel
@property (nonatomic, strong) NSString *			phone;
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * msg;
@end

/**
 *  找回密码验证码验证
 */

@interface codeVerify : BeeStreamViewModel
@property(nonatomic,strong)NSString *			phone;
@property(nonatomic,strong)NSString *			verifycode;
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * msg;


@end


/**
 *  找回密码验设置新密码
 */

@interface forgotPassword : BeeStreamViewModel
@property (nonatomic, strong) NSString *			phone;
@property (nonatomic, strong) NSString *			newpassword;
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * msg;


@end

/**
 *  修改密码
 */

@interface changePassword : BeeStreamViewModel
@property (nonatomic, strong) NSString *			user_id;
@property (nonatomic, strong) NSString *			oldpassword;
@property (nonatomic, strong) NSString *			newpassword;
@property (nonatomic, strong) NSString *			token;
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * msg;


@end

/**
 *  修改宠物头像
 */

@interface updatePetHead : BeeStreamViewModel
@property (nonatomic, strong) NSString *			user_id;
@property (nonatomic, strong) NSString *			pet_id;
@property (nonatomic, strong) UIImage *			file1;
@property (nonatomic, strong) NSString *			token;
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * msg;


@end


/**
 *  根据IM用户名获取用户信息
 */

@interface getUserInfoByIm : BeeStreamViewModel
@property (nonatomic, strong) NSString *			imusername;
@property (nonatomic, strong) NSString *			token;
@property(nonatomic,strong)SHAREMAINMODEL *data;
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * msg;


@end